﻿using System.ComponentModel;

namespace Niknak.Services.TaskScheduler.Enums
{
    public enum AuditLogEntryType
    {
        Unknown = 0,
        [Description("No worries")]
        Information = 1,
        [Description("A concern")]
        Warning = 2,
        [Description("Panic")]
        Error = 3
    }

    public enum TaskOutcome
    {
        Unknown = 0,
        [Description("Completed OK")]
        OK = 1,
        [Description("Completed with errors")]
        Errors = 2,
        [Description("Aborted")]
        Aborted = 3,
        [Description("In progress/still running")]
        InProgress = 4
    }

    public enum TaskType
    {
        Unknown = 0,
        [Description("Simple task")]
        Simple = 1,
        [Description("Advanced task")]
        Advanced = 2
    }

    public enum CompletedEventStatus
    {
        [Description("Not started")]
        NotStarted = 0,
        [Description("Completed OK")]
        OK = 1,
        [Description("Completed with errors")]
        Errors = 2,
        [Description("Aborted")]
        Aborted = 3,
        [Description("In progress/still running")]
        InProgress = 4
    }
}
